package com.voicenews.model;

public class Feed {
	// Id cua feed
	private long id;
	// Url cua feed
	private String url;
	// Lan quet feed cuoi cung de lay cac article
	private long lastRefreshTime;
	// Id cua topic ma Feed thuoc den
	private long idTopic;
	
	
	public Feed(long id, String url, long lastRefreshTime, long idTopic) {
		this.id = id;
		this.url = url;
		this.lastRefreshTime = lastRefreshTime;
		this.idTopic = idTopic;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public long getLastRefreshTime() {
		return lastRefreshTime;
	}

	public void setLastRefreshTime(long lastRefreshTime) {
		this.lastRefreshTime = lastRefreshTime;
	}

	public long getIdTopic() {
		return idTopic;
	}

	public void setIdTopic(long idTopic) {
		this.idTopic = idTopic;
	}
	
}
